'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;
  const jsonp = app.jsonp();
  router.get('/query',jsonp,controller.home.index);
  router.get('/goto',jsonp,controller.goto.index);
  
};
